// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
// import {Tabbar, TabItem, Swipe, SwipeItem, Header, Button, Field, Radio, Navbar, TabContainer, TabContainerItem, Popup, Lazyload, Cell, Checklist, CellSwipe, InfiniteScroll, MessageBox, Toast } from 'mint-ui'
import 'amfe-flexible'
import App from './App'
import router from './router'
import './assets/css/minireset.css'
import './assets/iconfont/iconfont.css'
import store from './store'
import http from './axios'

// Vue.component(Tabbar.name, Tabbar);
// Vue.component(TabItem.name, TabItem);
// Vue.component(Swipe.name,Swipe);
// Vue.component(SwipeItem.name,SwipeItem);
// Vue.component(Header.name, Header);
// Vue.component(Button.name, Button);
// Vue.component(Field.name, Field);
// Vue.component(Radio.name, Radio);
// Vue.component(Navbar.name, Navbar);
// Vue.component(TabContainer.name, TabContainer);
// Vue.component(TabContainerItem.name, TabContainerItem);
// Vue.component(Cell.name, Cell);
// Vue.component(Checklist.name, Checklist);
// Vue.component(CellSwipe.name, CellSwipe); 
// Vue.component(Popup.name, Popup); 
// Vue.use(Lazyload);
// Vue.use(InfiniteScroll);

Vue.prototype.$http = http;
// Vue.prototype.$MessageBox = MessageBox;
// Vue.prototype.$Toast = Toast;
/* eslint-disable no-new */




new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
